<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: pcl::gpu::SeededHueSegmentation类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classpcl_1_1gpu_1_1_seeded_hue_segmentation.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="#pro-attribs">Protected 属性</a> &#124;
<a href="classpcl_1_1gpu_1_1_seeded_hue_segmentation-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">pcl::gpu::SeededHueSegmentation类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:a9f38f083d7facfd6b59ecba516c97ce2"><td class="memItemLeft" align="right" valign="top"><a id="a9f38f083d7facfd6b59ecba516c97ce2"></a>
typedef <a class="el" href="structpcl_1_1_point_x_y_z.html">pcl::PointXYZ</a>&#160;</td><td class="memItemRight" valign="bottom"><b>PointType</b></td></tr>
<tr class="separator:a9f38f083d7facfd6b59ecba516c97ce2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65d1e1b1360226d75a332147ba53a669"><td class="memItemLeft" align="right" valign="top"><a id="a65d1e1b1360226d75a332147ba53a669"></a>
typedef <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z.html">pcl::PointXYZ</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>PointCloudHost</b></td></tr>
<tr class="separator:a65d1e1b1360226d75a332147ba53a669"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e7ae2c6324defb4f123ca514d765856"><td class="memItemLeft" align="right" valign="top"><a id="a6e7ae2c6324defb4f123ca514d765856"></a>
typedef PointCloudHost::Ptr&#160;</td><td class="memItemRight" valign="bottom"><b>PointCloudHostPtr</b></td></tr>
<tr class="separator:a6e7ae2c6324defb4f123ca514d765856"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a984b3321e1465d01f7a7f7695657cccb"><td class="memItemLeft" align="right" valign="top"><a id="a984b3321e1465d01f7a7f7695657cccb"></a>
typedef PointCloudHost::ConstPtr&#160;</td><td class="memItemRight" valign="bottom"><b>PointCloudHostConstPtr</b></td></tr>
<tr class="separator:a984b3321e1465d01f7a7f7695657cccb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7f11ae8377d67722888bc39e0e96b25"><td class="memItemLeft" align="right" valign="top"><a id="ad7f11ae8377d67722888bc39e0e96b25"></a>
typedef PointIndices::Ptr&#160;</td><td class="memItemRight" valign="bottom"><b>PointIndicesPtr</b></td></tr>
<tr class="separator:ad7f11ae8377d67722888bc39e0e96b25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6fdbd777c9092411f0c1f28eb25e2178"><td class="memItemLeft" align="right" valign="top"><a id="a6fdbd777c9092411f0c1f28eb25e2178"></a>
typedef PointIndices::ConstPtr&#160;</td><td class="memItemRight" valign="bottom"><b>PointIndicesConstPtr</b></td></tr>
<tr class="separator:a6fdbd777c9092411f0c1f28eb25e2178"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c53fd87a18c9684f8356e05fd8f3bf9"><td class="memItemLeft" align="right" valign="top"><a id="a0c53fd87a18c9684f8356e05fd8f3bf9"></a>
typedef <a class="el" href="classpcl_1_1gpu_1_1_octree.html">pcl::gpu::Octree</a>&#160;</td><td class="memItemRight" valign="bottom"><b>GPUTree</b></td></tr>
<tr class="separator:a0c53fd87a18c9684f8356e05fd8f3bf9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a510c54c1fcac36af0f5647303fec2919"><td class="memItemLeft" align="right" valign="top"><a id="a510c54c1fcac36af0f5647303fec2919"></a>
typedef <a class="el" href="classpcl_1_1gpu_1_1_octree.html#aaef633c03e07b4ccf653afa6f314be75">pcl::gpu::Octree::Ptr</a>&#160;</td><td class="memItemRight" valign="bottom"><b>GPUTreePtr</b></td></tr>
<tr class="separator:a510c54c1fcac36af0f5647303fec2919"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a97570edb5f14a4ff722ffa1e41d408"><td class="memItemLeft" align="right" valign="top"><a id="a3a97570edb5f14a4ff722ffa1e41d408"></a>
typedef <a class="el" href="classpcl_1_1gpu_1_1_octree.html#a2584f9e71b717c8c891415199661a2c3">pcl::gpu::Octree::PointCloud</a>&#160;</td><td class="memItemRight" valign="bottom"><b>CloudDevice</b></td></tr>
<tr class="separator:a3a97570edb5f14a4ff722ffa1e41d408"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a3f109c5d5154d4121199a67cd5fedd44"><td class="memItemLeft" align="right" valign="top"><a id="a3f109c5d5154d4121199a67cd5fedd44"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1gpu_1_1_seeded_hue_segmentation.html#a3f109c5d5154d4121199a67cd5fedd44">SeededHueSegmentation</a> ()</td></tr>
<tr class="memdesc:a3f109c5d5154d4121199a67cd5fedd44"><td class="mdescLeft">&#160;</td><td class="mdescRight">Empty constructor. <br /></td></tr>
<tr class="separator:a3f109c5d5154d4121199a67cd5fedd44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae0f3b31647e318dc86a45266c2aaa6c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1gpu_1_1_seeded_hue_segmentation.html#aae0f3b31647e318dc86a45266c2aaa6c">setSearchMethod</a> (const GPUTreePtr &amp;tree)</td></tr>
<tr class="memdesc:aae0f3b31647e318dc86a45266c2aaa6c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provide a pointer to the search object.  <a href="classpcl_1_1gpu_1_1_seeded_hue_segmentation.html#aae0f3b31647e318dc86a45266c2aaa6c">更多...</a><br /></td></tr>
<tr class="separator:aae0f3b31647e318dc86a45266c2aaa6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a467d979d97a9a7423d9ba2b9bb2f0359"><td class="memItemLeft" align="right" valign="top">GPUTreePtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1gpu_1_1_seeded_hue_segmentation.html#a467d979d97a9a7423d9ba2b9bb2f0359">getSearchMethod</a> ()</td></tr>
<tr class="memdesc:a467d979d97a9a7423d9ba2b9bb2f0359"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a pointer to the search method used.  <a href="classpcl_1_1gpu_1_1_seeded_hue_segmentation.html#a467d979d97a9a7423d9ba2b9bb2f0359">更多...</a><br /></td></tr>
<tr class="separator:a467d979d97a9a7423d9ba2b9bb2f0359"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc78aa62c190708eb41933ffd7415e86"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1gpu_1_1_seeded_hue_segmentation.html#adc78aa62c190708eb41933ffd7415e86">setClusterTolerance</a> (double tolerance)</td></tr>
<tr class="memdesc:adc78aa62c190708eb41933ffd7415e86"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the spatial cluster tolerance as a measure in the L2 Euclidean space  <a href="classpcl_1_1gpu_1_1_seeded_hue_segmentation.html#adc78aa62c190708eb41933ffd7415e86">更多...</a><br /></td></tr>
<tr class="separator:adc78aa62c190708eb41933ffd7415e86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd9aa10fb58cb698cc07ba3518511cf6"><td class="memItemLeft" align="right" valign="top"><a id="abd9aa10fb58cb698cc07ba3518511cf6"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1gpu_1_1_seeded_hue_segmentation.html#abd9aa10fb58cb698cc07ba3518511cf6">getClusterTolerance</a> ()</td></tr>
<tr class="memdesc:abd9aa10fb58cb698cc07ba3518511cf6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the spatial cluster tolerance as a measure in the L2 Euclidean space. <br /></td></tr>
<tr class="separator:abd9aa10fb58cb698cc07ba3518511cf6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a417e8893ac6fea5d484bae6717e58e45"><td class="memItemLeft" align="right" valign="top"><a id="a417e8893ac6fea5d484bae6717e58e45"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setInput</b> (<a class="el" href="classpcl_1_1gpu_1_1_device_array.html">CloudDevice</a> input)</td></tr>
<tr class="separator:a417e8893ac6fea5d484bae6717e58e45"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acde04a9e79ebe3b830aa0c9f34dedb93"><td class="memItemLeft" align="right" valign="top"><a id="acde04a9e79ebe3b830aa0c9f34dedb93"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setHostCloud</b> (PointCloudHostPtr host_cloud)</td></tr>
<tr class="separator:acde04a9e79ebe3b830aa0c9f34dedb93"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94b93d8a9986229708b41c414215caf5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1gpu_1_1_seeded_hue_segmentation.html#a94b93d8a9986229708b41c414215caf5">setDeltaHue</a> (float delta_hue)</td></tr>
<tr class="memdesc:a94b93d8a9986229708b41c414215caf5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the tollerance on the hue  <a href="classpcl_1_1gpu_1_1_seeded_hue_segmentation.html#a94b93d8a9986229708b41c414215caf5">更多...</a><br /></td></tr>
<tr class="separator:a94b93d8a9986229708b41c414215caf5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a610ceecdb161f8b7219d1a57662526d6"><td class="memItemLeft" align="right" valign="top"><a id="a610ceecdb161f8b7219d1a57662526d6"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1gpu_1_1_seeded_hue_segmentation.html#a610ceecdb161f8b7219d1a57662526d6">getDeltaHue</a> ()</td></tr>
<tr class="memdesc:a610ceecdb161f8b7219d1a57662526d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the tolerance on the hue <br /></td></tr>
<tr class="separator:a610ceecdb161f8b7219d1a57662526d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0b560196fb4b7596f6a4753daace175"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1gpu_1_1_seeded_hue_segmentation.html#ac0b560196fb4b7596f6a4753daace175">segment</a> (<a class="el" href="structpcl_1_1_point_indices.html">PointIndices</a> &amp;indices_in, <a class="el" href="structpcl_1_1_point_indices.html">PointIndices</a> &amp;indices_out)</td></tr>
<tr class="memdesc:ac0b560196fb4b7596f6a4753daace175"><td class="mdescLeft">&#160;</td><td class="mdescRight">Cluster extraction in a <a class="el" href="classpcl_1_1_point_cloud.html" title="PointCloud represents the base class in PCL for storing collections of 3D points.">PointCloud</a> given by &lt;setInputCloud (), setIndices ()&gt;  <a href="classpcl_1_1gpu_1_1_seeded_hue_segmentation.html#ac0b560196fb4b7596f6a4753daace175">更多...</a><br /></td></tr>
<tr class="separator:ac0b560196fb4b7596f6a4753daace175"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:a1ca9731d19e7013c951889baadcfa6d1"><td class="memItemLeft" align="right" valign="top"><a id="a1ca9731d19e7013c951889baadcfa6d1"></a>
virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1gpu_1_1_seeded_hue_segmentation.html#a1ca9731d19e7013c951889baadcfa6d1">getClassName</a> () const</td></tr>
<tr class="memdesc:a1ca9731d19e7013c951889baadcfa6d1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Class getName method. <br /></td></tr>
<tr class="separator:a1ca9731d19e7013c951889baadcfa6d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected 属性</h2></td></tr>
<tr class="memitem:a373ef1fcf2bb472af0fa0a1b65cddd05"><td class="memItemLeft" align="right" valign="top"><a id="a373ef1fcf2bb472af0fa0a1b65cddd05"></a>
<a class="el" href="classpcl_1_1gpu_1_1_device_array.html">CloudDevice</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1gpu_1_1_seeded_hue_segmentation.html#a373ef1fcf2bb472af0fa0a1b65cddd05">input_</a></td></tr>
<tr class="memdesc:a373ef1fcf2bb472af0fa0a1b65cddd05"><td class="mdescLeft">&#160;</td><td class="mdescRight">the input cloud on the GPU <br /></td></tr>
<tr class="separator:a373ef1fcf2bb472af0fa0a1b65cddd05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a088455d7924221c37f3ffbe1e506bb78"><td class="memItemLeft" align="right" valign="top"><a id="a088455d7924221c37f3ffbe1e506bb78"></a>
PointCloudHostPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1gpu_1_1_seeded_hue_segmentation.html#a088455d7924221c37f3ffbe1e506bb78">host_cloud_</a></td></tr>
<tr class="memdesc:a088455d7924221c37f3ffbe1e506bb78"><td class="mdescLeft">&#160;</td><td class="mdescRight">the original cloud the Host <br /></td></tr>
<tr class="separator:a088455d7924221c37f3ffbe1e506bb78"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5689256fb1cd46fdda784a6aba14566"><td class="memItemLeft" align="right" valign="top"><a id="ae5689256fb1cd46fdda784a6aba14566"></a>
GPUTreePtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1gpu_1_1_seeded_hue_segmentation.html#ae5689256fb1cd46fdda784a6aba14566">tree_</a></td></tr>
<tr class="memdesc:ae5689256fb1cd46fdda784a6aba14566"><td class="mdescLeft">&#160;</td><td class="mdescRight">A pointer to the spatial search object. <br /></td></tr>
<tr class="separator:ae5689256fb1cd46fdda784a6aba14566"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9589b350768eebe75079ac4ea85512af"><td class="memItemLeft" align="right" valign="top"><a id="a9589b350768eebe75079ac4ea85512af"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1gpu_1_1_seeded_hue_segmentation.html#a9589b350768eebe75079ac4ea85512af">cluster_tolerance_</a></td></tr>
<tr class="memdesc:a9589b350768eebe75079ac4ea85512af"><td class="mdescLeft">&#160;</td><td class="mdescRight">The spatial cluster tolerance as a measure in the L2 Euclidean space. <br /></td></tr>
<tr class="separator:a9589b350768eebe75079ac4ea85512af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a733693c99f6f317d7bc4a4dd95ae8622"><td class="memItemLeft" align="right" valign="top"><a id="a733693c99f6f317d7bc4a4dd95ae8622"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1gpu_1_1_seeded_hue_segmentation.html#a733693c99f6f317d7bc4a4dd95ae8622">delta_hue_</a></td></tr>
<tr class="memdesc:a733693c99f6f317d7bc4a4dd95ae8622"><td class="mdescLeft">&#160;</td><td class="mdescRight">The allowed difference on the hue <br /></td></tr>
<tr class="separator:a733693c99f6f317d7bc4a4dd95ae8622"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">成员函数说明</h2>
<a id="a467d979d97a9a7423d9ba2b9bb2f0359"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a467d979d97a9a7423d9ba2b9bb2f0359">&#9670;&nbsp;</a></span>getSearchMethod()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">GPUTreePtr pcl::gpu::SeededHueSegmentation::getSearchMethod </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get a pointer to the search method used. </p>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000024">待办事项:</a></b></dt><dd>fix this for a generic search tree </dd></dl>
<div class="fragment"><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;{ <span class="keywordflow">return</span> (<a class="code" href="classpcl_1_1gpu_1_1_seeded_hue_segmentation.html#ae5689256fb1cd46fdda784a6aba14566">tree_</a>); }</div>
<div class="ttc" id="aclasspcl_1_1gpu_1_1_seeded_hue_segmentation_html_ae5689256fb1cd46fdda784a6aba14566"><div class="ttname"><a href="classpcl_1_1gpu_1_1_seeded_hue_segmentation.html#ae5689256fb1cd46fdda784a6aba14566">pcl::gpu::SeededHueSegmentation::tree_</a></div><div class="ttdeci">GPUTreePtr tree_</div><div class="ttdoc">A pointer to the spatial search object.</div><div class="ttdef"><b>Definition:</b> gpu_seeded_hue_segmentation.h:129</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="ac0b560196fb4b7596f6a4753daace175"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac0b560196fb4b7596f6a4753daace175">&#9670;&nbsp;</a></span>segment()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::gpu::SeededHueSegmentation::segment </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structpcl_1_1_point_indices.html">PointIndices</a> &amp;&#160;</td>
          <td class="paramname"><em>indices_in</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structpcl_1_1_point_indices.html">PointIndices</a> &amp;&#160;</td>
          <td class="paramname"><em>indices_out</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Cluster extraction in a <a class="el" href="classpcl_1_1_point_cloud.html" title="PointCloud represents the base class in PCL for storing collections of 3D points.">PointCloud</a> given by &lt;setInputCloud (), setIndices ()&gt; </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">indices_in</td><td></td></tr>
    <tr><td class="paramname">indices_out</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000027">待办事项:</a></b></dt><dd>what do we do if input isn't a <a class="el" href="structpcl_1_1_point_x_y_z.html" title="A point structure representing Euclidean xyz coordinates. (SSE friendly)">PointXYZ</a> cloud? </dd></dl>
<div class="fragment"><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;{</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;  <span class="comment">// Initialize the GPU search tree</span></div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;  <span class="keywordflow">if</span> (!<a class="code" href="classpcl_1_1gpu_1_1_seeded_hue_segmentation.html#ae5689256fb1cd46fdda784a6aba14566">tree_</a>)</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;  {</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;    <a class="code" href="classpcl_1_1gpu_1_1_seeded_hue_segmentation.html#ae5689256fb1cd46fdda784a6aba14566">tree_</a>.reset (<span class="keyword">new</span> <a class="code" href="classpcl_1_1gpu_1_1_octree.html">pcl::gpu::Octree</a>());</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;    <a class="code" href="classpcl_1_1gpu_1_1_seeded_hue_segmentation.html#ae5689256fb1cd46fdda784a6aba14566">tree_</a>-&gt;setCloud(<a class="code" href="classpcl_1_1gpu_1_1_seeded_hue_segmentation.html#a373ef1fcf2bb472af0fa0a1b65cddd05">input_</a>);</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;  }</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;  <span class="keywordflow">if</span> (!<a class="code" href="classpcl_1_1gpu_1_1_seeded_hue_segmentation.html#ae5689256fb1cd46fdda784a6aba14566">tree_</a>-&gt;isBuild())</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;  {</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;    <a class="code" href="classpcl_1_1gpu_1_1_seeded_hue_segmentation.html#ae5689256fb1cd46fdda784a6aba14566">tree_</a>-&gt;build();</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;  }</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;<span class="comment">  if(tree_-&gt;cloud_.size() != host_cloud.points.size ())</span></div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;<span class="comment">  {</span></div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;<span class="comment">    PCL_ERROR(&quot;[pcl::gpu::SeededHueSegmentation] size of host cloud and device cloud don&#39;t match!\n&quot;);</span></div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;<span class="comment">    return;</span></div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;<span class="comment">  }</span></div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;<span class="comment">*/</span></div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;  <span class="comment">// Extract the actual clusters</span></div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;  seededHueSegmentation (<a class="code" href="classpcl_1_1gpu_1_1_seeded_hue_segmentation.html#a088455d7924221c37f3ffbe1e506bb78">host_cloud_</a>, <a class="code" href="classpcl_1_1gpu_1_1_seeded_hue_segmentation.html#ae5689256fb1cd46fdda784a6aba14566">tree_</a>, <a class="code" href="classpcl_1_1gpu_1_1_seeded_hue_segmentation.html#a9589b350768eebe75079ac4ea85512af">cluster_tolerance_</a>, indices_in, indices_out, <a class="code" href="classpcl_1_1gpu_1_1_seeded_hue_segmentation.html#a733693c99f6f317d7bc4a4dd95ae8622">delta_hue_</a>);</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;}</div>
<div class="ttc" id="aclasspcl_1_1gpu_1_1_octree_html"><div class="ttname"><a href="classpcl_1_1gpu_1_1_octree.html">pcl::gpu::Octree</a></div><div class="ttdoc">Octree implementation on GPU. It suppors parallel building and paralel batch search as well .</div><div class="ttdef"><b>Definition:</b> octree.hpp:57</div></div>
<div class="ttc" id="aclasspcl_1_1gpu_1_1_seeded_hue_segmentation_html_a088455d7924221c37f3ffbe1e506bb78"><div class="ttname"><a href="classpcl_1_1gpu_1_1_seeded_hue_segmentation.html#a088455d7924221c37f3ffbe1e506bb78">pcl::gpu::SeededHueSegmentation::host_cloud_</a></div><div class="ttdeci">PointCloudHostPtr host_cloud_</div><div class="ttdoc">the original cloud the Host</div><div class="ttdef"><b>Definition:</b> gpu_seeded_hue_segmentation.h:126</div></div>
<div class="ttc" id="aclasspcl_1_1gpu_1_1_seeded_hue_segmentation_html_a373ef1fcf2bb472af0fa0a1b65cddd05"><div class="ttname"><a href="classpcl_1_1gpu_1_1_seeded_hue_segmentation.html#a373ef1fcf2bb472af0fa0a1b65cddd05">pcl::gpu::SeededHueSegmentation::input_</a></div><div class="ttdeci">CloudDevice input_</div><div class="ttdoc">the input cloud on the GPU</div><div class="ttdef"><b>Definition:</b> gpu_seeded_hue_segmentation.h:123</div></div>
<div class="ttc" id="aclasspcl_1_1gpu_1_1_seeded_hue_segmentation_html_a733693c99f6f317d7bc4a4dd95ae8622"><div class="ttname"><a href="classpcl_1_1gpu_1_1_seeded_hue_segmentation.html#a733693c99f6f317d7bc4a4dd95ae8622">pcl::gpu::SeededHueSegmentation::delta_hue_</a></div><div class="ttdeci">float delta_hue_</div><div class="ttdoc">The allowed difference on the hue</div><div class="ttdef"><b>Definition:</b> gpu_seeded_hue_segmentation.h:135</div></div>
<div class="ttc" id="aclasspcl_1_1gpu_1_1_seeded_hue_segmentation_html_a9589b350768eebe75079ac4ea85512af"><div class="ttname"><a href="classpcl_1_1gpu_1_1_seeded_hue_segmentation.html#a9589b350768eebe75079ac4ea85512af">pcl::gpu::SeededHueSegmentation::cluster_tolerance_</a></div><div class="ttdeci">double cluster_tolerance_</div><div class="ttdoc">The spatial cluster tolerance as a measure in the L2 Euclidean space.</div><div class="ttdef"><b>Definition:</b> gpu_seeded_hue_segmentation.h:132</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="adc78aa62c190708eb41933ffd7415e86"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adc78aa62c190708eb41933ffd7415e86">&#9670;&nbsp;</a></span>setClusterTolerance()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::gpu::SeededHueSegmentation::setClusterTolerance </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>tolerance</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the spatial cluster tolerance as a measure in the L2 Euclidean space </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">tolerance</td><td>the spatial cluster tolerance as a measure in the L2 Euclidean space </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;{ <a class="code" href="classpcl_1_1gpu_1_1_seeded_hue_segmentation.html#a9589b350768eebe75079ac4ea85512af">cluster_tolerance_</a> = tolerance; }</div>
</div><!-- fragment -->
</div>
</div>
<a id="a94b93d8a9986229708b41c414215caf5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a94b93d8a9986229708b41c414215caf5">&#9670;&nbsp;</a></span>setDeltaHue()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::gpu::SeededHueSegmentation::setDeltaHue </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>delta_hue</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the tollerance on the hue </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">delta_hue</td><td>the new delta hue </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;{ <a class="code" href="classpcl_1_1gpu_1_1_seeded_hue_segmentation.html#a733693c99f6f317d7bc4a4dd95ae8622">delta_hue_</a> = delta_hue; }</div>
</div><!-- fragment -->
</div>
</div>
<a id="aae0f3b31647e318dc86a45266c2aaa6c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aae0f3b31647e318dc86a45266c2aaa6c">&#9670;&nbsp;</a></span>setSearchMethod()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::gpu::SeededHueSegmentation::setSearchMethod </td>
          <td>(</td>
          <td class="paramtype">const GPUTreePtr &amp;&#160;</td>
          <td class="paramname"><em>tree</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Provide a pointer to the search object. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">tree</td><td>a pointer to the spatial search object. </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;{ <a class="code" href="classpcl_1_1gpu_1_1_seeded_hue_segmentation.html#ae5689256fb1cd46fdda784a6aba14566">tree_</a> = tree; }</div>
</div><!-- fragment -->
</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>gpu/segmentation/include/pcl/gpu/segmentation/<a class="el" href="gpu__seeded__hue__segmentation_8h_source.html">gpu_seeded_hue_segmentation.h</a></li>
<li>gpu/segmentation/include/pcl/gpu/segmentation/impl/<a class="el" href="gpu__seeded__hue__segmentation_8hpp_source.html">gpu_seeded_hue_segmentation.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>pcl</b></li><li class="navelem"><b>gpu</b></li><li class="navelem"><a class="el" href="classpcl_1_1gpu_1_1_seeded_hue_segmentation.html">SeededHueSegmentation</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
